package com.example.zk2_lx.mvvm_base;

import androidx.lifecycle.ViewModel;

public abstract class BaseViewModel<Repo extends BaseRepo> extends ViewModel {
    protected Repo repo;

    public BaseViewModel() {
        repo = createRepo();
    }

    protected abstract Repo createRepo();
}
